package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.daomian.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BookDao extends BaseMapper {
        @Select("select  * from tbl_book where id = #{id}")
        Book getById(Integer id);
}
